package de.tum.in.eist.poll.shared.beans;

import de.tum.in.eist.poll.client.views.widgets.QuestionTextWidget;
import de.tum.in.eist.poll.client.views.widgets.QuestionWidget;

public final class TextQuestion extends Question {	
	public TextQuestion(String description, boolean optional) {
		super(description, optional);
	}

	/* (non-Javadoc)
	 * @see de.tum.in.eist.poll.shared.beans.Question#getWidget()
	 */
	@Override
	public QuestionWidget getWidget() {
		return new QuestionTextWidget(this);
	}
}